package com.yloveg.service;

import java.util.List;
import java.util.Map;

import com.yloveg.entity.SPermission;
import com.yloveg.entity.SPermissionExtend;

public interface SPermissionService {
    
    public int insertSPermission(SPermission sPermission);
    
    public int updateByPrimaryKeySelective(SPermission sPermission);
    
    public SPermission selectByPrimaryKey(Long id);
    
    public List<SPermissionExtend> getMem(SPermission sPermission);
    
    public List<SPermissionExtend> getMemF(Map<String,Object> map);
    
    public List<SPermission> getUserMainMum(Long userId);
    
    public Map<Long,List<SPermissionExtend>> getUserMainMumEche(Long userId);
    
}